<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  
    
    <title>修改密码</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
   <script type="text/javascript">
     function ChangeSub(){
        var newPwd=document.getElementById("newPwd").value;
        var repeatPwd=document.getElementById("nPwd").value;
        if(newPwd==repeatPwd){
          changeForm.submit();
        }else{
          alert("两次密码输入不一致");
        }
     }
   
   </script>

  </head>
  
  <body>
    <form action="/newbingo/member/changePwd.action" id="changeForm" method="post">
      <table>
         <tr>
           <td>原密码：</td>
           <td><input name="oldPwd" id="oldPwd" type="password"/></td>
         </tr>
         <tr>
           <td>新密码：</td>
           <td><input name="newPwd" id="newPwd" type="password"/></td>
         </tr>
         <tr>
           <td>确认密码：</td>
           <td><input name="nPwd" id="nPwd" type="password"/></td>
         </tr>
      </table>
      <input type="button" value="提 交" onclick="ChangeSub();"/>
    </form>
  </body>
</html>
